﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Li.EntityFramework.Repository;
namespace Li.EntityFramework.IAppService
{
    public interface IBaseAppService<TEntity> where TEntity:class
    {
        void Add(TEntity entity);
        IEnumerable<TEntity> GetAll();
        void Delete(TEntity entity);
        int SaveChanges();
    }
}
